package com.imooc.mall.service;

import com.imooc.mall.controller.vo.AddCategoryReq;
import com.imooc.mall.controller.vo.UpdateCategoryReq;
import com.imooc.mall.entity.Category;
import com.baomidou.mybatisplus.extension.service.IService;
import com.imooc.mall.exception.ImoocMallException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ZhaoJianHui
 * @since 2025-05-07
 */
public interface ICategoryService extends IService<Category> {

    void add(AddCategoryReq addCategoryReq) throws ImoocMallException;

    void upCategory(UpdateCategoryReq updateCategoryReq);
}
